<html>
<head><meta charset="utf-8"><title>VSCode raLspServerPath · t-compiler/rust-analyzer · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/index.html">t-compiler/rust-analyzer</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/VSCode.20raLspServerPath.html">VSCode raLspServerPath</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="173364416"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/VSCode%20raLspServerPath/near/173364416" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Zheyu Shen <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/VSCode.20raLspServerPath.html#173364416">(Aug 16 2019 at 11:03)</a>:</h4>
<p>cargo doesn't install the server to $PATH, which means that we should mention tweaking this setting after install in README.</p>



<a name="173370905"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/VSCode%20raLspServerPath/near/173370905" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Daniel Mcnab <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/VSCode.20raLspServerPath.html#173370905">(Aug 16 2019 at 12:58)</a>:</h4>
<p>Rustup should have put ~/.cargo/bin into your PATH by default, which is where cargo install will put it.</p>



<a name="173658986"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/VSCode%20raLspServerPath/near/173658986" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/VSCode.20raLspServerPath.html#173658986">(Aug 20 2019 at 13:45)</a>:</h4>
<p>rustup changes the shell's PATH, but if you launch Code from a DE you'll have to rely on <code>~/.pam_environment</code> or similar</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>